<?
include('../../includes/config.php');
include('pidread.php');
/* ok time to define variables */

$killascent = $_POST['killascent'];
$killlogon = $_POST['killlogon'];

if($killascent=='1'){
$killpid_ascent = shell_exec("kill $ascentpid");
	if($killpid_ascent){
	echo "Ascent was killed!!!";
	echo "<br><br>";
	}
echo "<pre>$output</pre>";
echo "<br><br>";
}
?>
<h2>Ascent Killer</h2><br>
<form action="killapp.php" method="post">
<br>
Kill ascent: <input type="checkbox" name="killascent" value="1">
<br>
Click Submit!<br>
<input type="submit">